var map = [
[6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6],
[6,6,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,6,6],
[6,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,6,6],
[6,24,24,24,24,24,24,24,24,24,24,24,4,24,24,24,24,24,24,10,11,11,11,6,6],
[6,24,24,24,24,24,24,24,24,24,24,10,6,22,18,24,24,24,24,24,24,24,16,6,6],
[6,24,24,24,24,11,24,24,8,20,24,24,15,4,24,24,24,24,24,24,24,24,10,6,6],
[6,24,24,24,24,11,24,24,24,24,24,24,24,14,5,24,5,5,24,24,24,24,24,14,6],
[6,24,24,24,24,24,24,24,24,24,11,11,24,17,5,24,24,5,5,24,24,24,24,17,6],
[6,24,24,24,24,24,24,24,24,24,24,24,24,9,5,24,24,24,5,5,24,24,24,16,6],
[6,24,24,24,24,24,24,24,7,6,6,6,20,22,24,24,24,24,24,24,24,24,24,7,6],
[6,11,11,11,11,11,11,8,20,23,14,22,24,24,24,24,24,24,24,24,24,24,24,6,6],
[6,21,24,24,24,24,24,24,24,24,16,24,24,24,24,24,24,24,24,24,24,10,24,14,6],
[6,5,24,24,24,24,24,24,24,24,24,24,24,24,24,7,6,6,6,6,6,20,24,17,6],
[6,2,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,9,6],
[6,6,6,6,6,6,6,6,6,6,11,11,6,6,6,6,6,6,6,6,6,6,6,6,6]
]
